package com.zengfa.task.client.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.zengfa.task.api.enums.RunType;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TaskNode {

	String group();
	int order();
	String code() default "";
	String desc() default "";
	RunType runType() default RunType.SYNC;
	String monitorName() default "";
	
}
